package com.warm.dto;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

/**
 * Created by liangchuang on 2018/9/4.
 */

//购物车
@DynamicUpdate
@Data
public class CartDTO {

    private String productId;

    private Integer prductQuantity;

    public CartDTO(String productId, Integer prductQuantity) {
        this.productId = productId;
        this.prductQuantity = prductQuantity;
    }
}
